package com.community.contents.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 话题
 *
 * @author hjs hjs@qq.com
 * @since 1.0.0 2023-02-21
 */
@Data
@TableName("t_discuss")
public class DiscussEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
	private Integer id;
    /**
     * 用户ID
     */
	private String userId;
    /**
     * 标题
     */
	private String title;
    /**
     * 帖子数量
     */
	private Integer postNum;
    /**
     * 预览数量
     */
	private Integer seeNum;
    /**
     * 创建时间
     */
	private Date createTime;
}